package cn.chuxing.rpc.service;

import cn.chuxing.pl.common.annotation.BasicService;
import cn.chuxing.pl.common.base.BaseMapper;
import cn.chuxing.pl.common.base.BaseServiceImpl;
import cn.chuxing.dao.mapper.PlLogMapper;
import cn.chuxing.dao.model.PlLog;
import cn.chuxing.dao.model.PlLogExample;
import cn.chuxing.rpc.api.PlLogService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
* PlLogService实现
* Created by Cooper on 2018/1/15.
*/
@Service
@Transactional
@BasicService
public class PlLogServiceImpl extends BaseServiceImpl<PlLog, PlLogExample> implements PlLogService {

    private static final Logger LOGGER = LoggerFactory.getLogger(PlLogServiceImpl.class);

    @Autowired
    private PlLogMapper plLogMapper;

    @Override
    public BaseMapper<PlLog, PlLogExample> getMapper() {
        return plLogMapper;
    }
}